home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
util
/
arc
/
GNUTar10_2.lha
/
GnuTAR
/
README.AMIGA
< prev
next >
Wrap
Text File
|
1995-07-23
|
5KB
|
121 lines
GNUTar Amiga Port of V1.09 (16 Oct 1990)
Release: V1.0.2
Release Date: 27.07.1995
Original port done by Ed Berger
1995 adaption, SAS/C recompilation
and 68030/040 versions by Andreas R. Kleinert
***
When extracting TAR archives on the AMIGA there has always been a problem:
the only available GNUTar port was hard to find and if you got it
finally, it was just unoptimized for higher 68k CPUs.
On the other hand, a simple recompilation wasn't easy for most people,
since the GNU-C (GCC) Compiler isn't very widely used and adaptions
for other compilers aren't that easy (as I finally found out ;-)
***
My first step to solve this problem was porting the nice, small and
handy "DeTar" utility from MS-DOS to Amiga.
The usage was really simple and easy, since you'd just had to call
"DeTar [archive]" and the whole archive would have been unpacked.
While searching for Bugs within DeTar (thus using the available GNUTar
port) I decided to port GNUTar directly (since there actually appeared
an effect I thought of as a bug of DeTar, but really was a bug of GNUTar ;-)
So, finally there's now a new SAS/C 6.51/6.55 port of GNUTar for the Amiga,
which isn't perfect at all yet, but might be the base for further
actions by other people (or me ;-)
***
Before I add the original "documentation" of Ed Berger, please take
a look at these notes:
- some of the defines and/or functions, which hadn't be present
for the GCC are actually available for SAS/C and vice versa.
So there are still some dummy-functions or (hopefully)
equivalent replacements for such things.
See the files "sas_amiga.c" and "sas_amiga2.c" for code-replacements
and the "sasinclude/#?.h" files for more defines.
I went this way, since this prevented me from changing _anything_
within the orginal source.
The only thing to be done was setting definitions and compiler
options in the best way and then fill in the missing parts
(sounds easier, than it was %-)
- ahm...well: while compiling there occured several problems
(warnings, missing functions, which had to be substituted
by dummies, etc.). So remember: it works, but there's really
no guarantee for anything !
***
Andreas R. Kleinert, Fido 2:2457/435.10
UseNet Andreas_Kleinert@superview.ftn.sub.org
***
Revisions:
V1.0.2 (23.07.1995): - hey, found out that the base version actually
had been released as V1.09.
Added note to this readme.
- two people complained, that my GNUTar port did
not set correct flags out of "hsparwed" for the
amiga files when extracting from archives, as the
old GNUTar did.
Well, foudn out, that the old one just _did_ _not_
_change_ the default flags (always "rwed") and
we're now just doing the same, since the mode
field of unix TARs is either broken ("hpw" always
after conversion Unix->Amiga) or SAS/C's definition
for the S_IREAD (and so on) flags aren't compatible.
Now "rwed" will be set always.
You may change this behaviour within "sas_chmod()"
in "sas_amiga.c".
(-> bussjaeg@informatik.tu-muenchen.de;
Christian Bauernfeind,
crisbf@theorie3.physik.uni-erlangen.de)
- mkdir(), which needs only one argument with SAS/C
had been called with two (got warnings).
Now we're doing this:
#define mkdir(x, y) mkdir(x)
Well, it works ;-)
V1.0.1 (07.07.1995): - re-compiled with SAS/C V6.55
- added 68040 version
- removed object files from archive due to size
- fixed bug note in documentation; was not a bug
(-> David Balazic, david.balazic@uni-mb.si)
V1.00 (23.03.1995): - first release, compiled with SAS/C V6.51
****************************************************************************
Following is, what Ed Berger originally wrote in "readme.1st":
----------------------------------------------------------------------------
I was looking for a tar program for the Amiga, since the gcc distribution,
and minix distribution files are often in this format. Tarsplit from an
old fish disk was not sufficient. I kept hearing about gnu-tar, but
never saw it archived anywhere, until now.
Since I was not able to find gnu-tar, under any separate archive on the
fish disks, or on my favorite ftp-sites, I pulled this out of the UUCP
distribution from uunet. The binary and man page were on disk 2, and
the source files were on disk 3. I hope that I didn't miss anything
important. I apologize for any inconvenience this may cause. If in doubt
go back to the UUCP distribution.
-Ed Berger
eb15@andrew.cmu.edu
****************************************************************************